<template>
    <div id="b1">
        <!-- 此处放的是根据路由跳转变换呈现东西的位置 -->
        <router-view></router-view>
    </div>
</template>

<script>
window.onload=function (){
  // console.log("wozai")
  var b1=document.getElementById("b1")
  if(window.sessionStorage.getItem("HB")=="dark")
    b1.style.backgroundColor="#545454"
  else
    b1.style.backgroundColor="#fff"
}
export default {
  name: 'Middle',

}

</script>

<style>



.shine{
  background-color: #ffffff;
}

.dark{
  background-color: #545454
}
</style>
